﻿@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville|Playfair+Display:400,600|Poppins:300,400,600');
/*
*  main layout
*/
body {
    font-family: 'Poppins', serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.8;
    color: #5a5a5a;
}

body .container {
    max-width: 768px;
    /*padding: 0;*/
    overflow: visible;
    position: relative;
}
.headernav {
	position:absolute;
	right:0;
	top:30px;
}
.btn-hamburger {
	margin-top: 40px;
	font-size:16px;
	background:#FFF;
}
a {
	text-decoration: underline;
}
a.active {
	background:#4fa26a;
	color:#FFF !important;
}
a.active:hover {
	cursor:default;
	background:#4fa26a !important;
	color:#FFF !important;
}
@media (max-width: 940px) {
	.btn-hamburger {
		margin-top: 0;
	}
}
@media (max-width: 480px) {
	.headernav {
		display:none;
	}
}
.headernav .header-prev, .headernav .header-next {
	width:40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	color:#949CA6;
	background: #FFF;
	border:1px solid #ececec;
	display: inline-block;
	transition: 0.3s ease-in-out;
}
.headernav .header-prev:hover, .headernav .header-next:hover {
	background: #EDEDED;
	color:#161718;
}
.headernav .header-prev {
	border-radius:4px 0 0 4px;
}
.headernav .header-next {
	margin-left: -1px;
	border-radius:0 4px 4px 0;
}
.header-next.disabled, .header-prev.disabled {
	color:#BDC8D5;
	background: #F4F4F4;
	cursor:not-allowed;
}
.header-next.disabled:hover, .header-prev.disabled:hover {
	color:#BDC8D5;
	background: #F4F4F4;
	cursor:not-allowed;
}
.header-divider {
    border: none;
    height: 20px;
    width: 100%;
    height: 50px;
    margin-top: 0;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 20px 20px -23px #D4D4D4;
    margin: -30px 0 50px 0;
}

img.center {
    display: block;
    margin: 0 auto;
}

.box-optional-resource,
.box-reflection,
.box-case-study,
.box-callout,
.box-callout-define,
.box-concept-check,
.box-example,
.box-callout-instructions {
    background: #ececec;
    margin: 40px 0;
    padding: 30px 30px;
    position: relative;
    background: #FFF;
    box-shadow: 0 0 20px #BFBFBF;
    border-radius:16px;
}
.box-callout-instructions{
	/*margin:60px -60px;*/
}

.box-optional-resource .title,
.box-reflection .title,
.box-case-study .title,
.box-callout .title,
.box-concept-check .title,
.box-example .title,
.box-callout-define .title,
.box-callout-instructions .title {
    font-size: 24px;
    margin: -30px -30px 20px -30px;
    padding: 30px 28px 20px 28px;
    color: #FFF;
    border-radius: 14px 14px 0 0;
}

.box-optional-resource .title:before,
.box-reflection .title:before,
.box-case-study .title:before,
.box-callout .title:before,
.box-concept-check .title:before,
.box-example .title:before,
.box-callout-define .title:before,
.box-callout-instructions .title:before {
	width:0;
}

.box-optional-resource:before,
.box-reflection:before,
.box-case-study:before,
.box-callout:before,
.box-concept-check:before,
.box-example:before,
.box-callout-define:before,
.box-callout-instructions:before {
    font-size: 10px;
    font-weight: 600;
    position: absolute;
    top: 10px;
    left: 20px;
    color: #FFF;
    padding: 3px 10px;
    border-radius: 0 0 4px 0;
    z-index: 4;
}


.box-example {
    border: 1px solid #46835D;
}
.box-example .title {
	background:#46835D;
}
.box-example:before {
    content: "EXAMPLE";
}


.box-case-study {
    border: 1px solid #554dff;
}
.box-case-study .title {
	background:#554dff;
}
.box-case-study:before {
    content: "CASE STUDY";
}


.box-optional-resource {
    border: 1px solid #343D46;
}
.box-optional-resource .title {
	background:#343D46;
}
.box-optional-resource:before {
    content: "OPTIONAL RESOURCES";
}


.box-reflection {
    border: 1px solid #773F88;
}
.box-reflection .title {
	background:#773F88;
}
.box-reflection:before {
    content: "REFLECTION";
}


.box-concept-check {
    border: 1px solid #821915;
}
.box-concept-check .title {
	background:#821915;
}
.box-concept-check:before {
    content: "CONCEPT CHECK";
}

.box-callout-define {
    border: 1px solid #ccc;
}
.box-callout-define .title {
	background:#FFF;
	color:#161718;
}
.box-callout-define:before {
    content: "DEFINITION";
    color:#161718;
}

.box-callout-instructions {
    border: 1px solid #ccc;
}
.box-callout-instructions .title {
	background:#FFF;
	color:#161718;
}
.box-callout-instructions:before {
    content: "INSTRUCTIONS";
    color:#161718;
}


.external {
	padding: 15px 15px 15px 70px;
    margin: 10px 0;
    background: #FFF;
    border: 1px solid #CCC;
    border-radius: 4px;
    position: relative;
}
.external p {
	line-height:1.5;
}
.external span {
	margin: 0 0 0 -90px;
	padding: 20px 0 0 20px;
	font-size: 20px;
	display: block;
	position: absolute;
	border-right: 1px solid #ccc;
	height: 100%;
	width: 65px;
	top: 0;
	text-align: center;
}


.note {
	padding:10px;
	border:1px dashed #ccc;
	border-radius:4px;
}
.purpleheader, .greenheader {
	padding:10px;
	color:#FFF;
}
.purpleheader {
	background:#773F88;
}
.greenheader {
	background:#46835D;
}


.references {
    margin-top: 50px;
    border-top: 1px solid #CCC;
    font-size: 80%;
}

.box-optional-resource p,
.box-reflection p,
.box-case-study p,
.box-callout p,
.box-callout-define p,
.box-concept-check p,
.box-example p,
.references p {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}



#footer {
    height: 60px;
    line-height: 60px;
    margin-top: 50px;
    border-top: 1px solid #CCC;
}

#footer p {
    padding: 0;
    margin: 0;
}

#footer a {
    display: block;
    padding: 0 10px;
    background: #FFF;
    color:#161718;
}

#footer a:hover {
    background: #ececec;
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

#footer .footer-left span {
    margin-right: 10px;
}

#footer .footer-right span {
    margin-left: 10px;
}

/*
*  typography
*/
h1,
h2,
h3,
h4,
h5, 
h6 {
    font-family: 'Playfair Display', serif;
    margin: 30px 0;
    padding: 0;
    color: #373B44;
    position: relative;
    border: none;
    background: transparent;
    font-weight: 600;
}

h1 {
	font-size:36px;
	max-width:90%;
}
h2 {
	font-size:32px;
}
h3 {
	font-size:28px;
}
h4 {
	font-size:24px;
}
h5 {
	font-size:20px;
}
h6 {
	font-size:18px;
}

h1:before,
h2:before,
h3:before,
h4:before,
h5:before {
    content: "";
    display: block;
    height: 3px;
    background: #373B44;
    position: absolute;
    top: 105%;
    left: -5px;
}

h1:before {
    width: 100px;
}

h2:before {
    width: 70px;
}

h3:before {
    width: 50px;
}

strong {
    font-weight: 600;
    color: #383838;
}

em {
    color: #383838;
}

dl {
	border-left:2px dotted #ccc;
	padding-left:20px;
	border-right:2px dotted #ccc;
	padding-right:20px;
}
dt {
	margin:15px 0 0 0;
}
.copyright {
	text-align: right;
	font-size:12px;
}
.copyright small {
	font-size:10px;
}
blockquote {
	border:none;
	margin:50px auto;
	font-family: 'Libre Baskerville', cursive;
	/*background: #fffdf5;
	color: #3f3f5a;*/
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;


    font-weight: 100;
    font-size: 1.8rem;
    max-width: 600px;
    line-height: 1.4;
    position: relative;
    padding: .5rem;
}
.box-example > .blockquote {
	margin:50px 0;
}
blockquote:before,
blockquote:after {
    position: absolute;
    color: #5a5a5a;
    font-size: 8rem;
    width: 4rem;
    height: 4rem;
}

blockquote:before {
    content: '“';
    left: -1rem;
    top: -4rem;
}
blockquote:after {
    content: '”';
    right: -1rem;
    bottom: 2rem;
}
@media (max-width: 480px) {
	blockquote:before {
	    content: '“';
	    left: -2rem;
	    top: -4rem;
	}
	blockquote:after {
	    content: '”';
	    right: -2rem;
	    bottom: 4rem;
	}
}

cite {
    line-height: 3;
    text-align: left;
}
.vertical-align {
    display: flex;
    align-items: center;
}

ol.bignumbers {
    counter-reset: listNumbering;
}
.bignumbers > li {
    font-size: 1em;
    counter-increment: listNumbering;
	list-style-type: none;
	position:relative;
}
.bignumbers > li:before {
    content: counter(listNumbering,decimal-leading-zero) '.';
    font-size: 22px;
    line-height:22px;
    background:#343D46;
    color:#FFF;
    text-align: center;
    padding:10px 0;
    position: absolute;
    left: -20px;
    top: 0;
    width:40px;
    height:40px;
    border-radius:4px;
}
.bignumbers > li:nth-child(1n),
.bignumbers > li:nth-child(2n),
.bignumbers > li:nth-child(3n),
.bignumbers > li:nth-child(4n) {
	border-left:1px solid #575EAA;
	padding-left: 30px;
}
.bignumbers > li:nth-child(1n) {
	margin-top: 40px;
}
.bignumbers > li:nth-child(2n),
.bignumbers > li:nth-child(3n),
.bignumbers > li:nth-child(4n) {
	margin-top: 110px;
}
@media (max-width: 480px) {
	ol.bignumbers {
	    margin-left:-20px;
	}
	.bignumbers > li {
		margin-left: -10px;
	}
}
ol.smallnumbers {
    counter-reset: listNumbering;
}
.smallnumbers > li {
    font-size: 1em;
    counter-increment: listNumbering;
	list-style-type: none;
	position:relative;
	margin-left:-45px;
}
.smallnumbers > li:before {
    content: counter(listNumbering,decimal-leading-zero) '';
    font-size: 16px;
    line-height: 16px;
    background: #343D46;
    color: #FFF;
    text-align: center;
    padding: 8px 0;
    position: absolute;
    left: -40px;
    top: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}


.bottom {
    position: absolute;
    bottom: 0;
    margin-right: 0;
}
.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    line-height:1.5;
}



/*
*  sotryline embeds
*/
.intrinsic-container {
    position: relative;
    height: 0;
    overflow: hidden;
}
.intrinsic-container-16x9 {
    padding-bottom: 56.25%;
}
.intrinsic-container > iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* have to add padding to actual size */
    /*width:740px;
    height:425px;*/
}


/* 
* bootstrap and cel-template overrides 
*/



.olc-review {
	position:relative;
	padding: 3px 15px;
	border-radius: 15px;
	background-color: #7BFA8E;
	animation-name: color;
	animation-duration: 2s;
	animation-iteration-count: infinite;
}
.olc-review:before {
	content:'';
	position: absolute;
	left: -120px;
	top:-40px;
	width: 120px;
	height: 120px;
	background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iIC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1IDIzLjE2NykiIGNsYXNzPSJzdDIgc3QzIHN0NCI+T0xDPC90ZXh0Pjx0ZXh0IHRyYW5zZm9ybT0ibWF0cml4KDEgMCAwIDEgMC42NjY1IDIzLjE2NykiIGNsYXNzPSJzdDUgc3QzIHN0NCI+T0xDPC90ZXh0Pjwvc3ZnPg==);
	background-size: contain;
	-moz-animation: bounce 2s infinite;
	-webkit-animation: bounce 2s infinite;
	animation: bounce 2s infinite;
}
@keyframes color {
  0% {
    background-color: #7BFA8E;
  }
  50% {
    background-color: #F25F68;
  }
  100 {
    background-color: #7BFA8E;
  }
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  40% {
    -moz-transform: translateX(-30px);
    -ms-transform: translateX(-30px);
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
  }
  60% {
    -moz-transform: translateX(-15px);
    -ms-transform: translateX(-15px);
    -webkit-transform: translateX(-15px);
    transform: translateX(-15px);
  }
}